<script>
export default {
  name: "Ex2",
  data(){
    return {
      show: true
    }
  }
}
</script>

<template>
<!--v-if-->
  <div v-if="!show" class="container">{{show}}</div>
<!--v-show  -->
  <div v-show="!show" class="container">{{show}}</div>
</template>

<style scoped>
  .container{
    width: 200px;
    height: 200px;
    background-color: blue;
  }
</style>